Espressif Systems /ESP32-C3 /SPI1 /CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (FDUMMY_OUT)FDUMMY_OUT 0 (FCMD_DUAL)FCMD_DUAL 0 (FCMD_QUAD)FCMD_QUAD 0 (FCS_CRC_EN)FCS_CRC_EN 0 (TX_CRC_EN)TX_CRC_EN 0 (FASTRD_MODE)FASTRD_MODE 0 (FREAD_DUAL)FREAD_DUAL 0 (RESANDRES)RESANDRES 0 (Q_POL)Q_POL 0 (D_POL)D_POL 0 (FREAD_QUAD)FREAD_QUAD 0 (WP)WP 0 (WRSR_2B)WRSR_2B 0 (FREAD_DIO)FREAD_DIO 0 (FREAD_QIO)FREAD_QIO

Description

SPI1 control register.

Fields

FDUMMY_OUT

In the dummy phase the signal level of spi is output by the spi controller.

FCMD_DUAL

Apply 2 signals during command phase 1:enable 0: disable

FCMD_QUAD

Apply 4 signals during command phase 1:enable 0: disable

FCS_CRC_EN

For SPI1, initialize crc32 module before writing encrypted data to flash. Active low.

TX_CRC_EN

For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable

FASTRD_MODE

This bit enable the bits: spi_mem_fread_qio, spi_mem_fread_dio, spi_mem_fread_qout and spi_mem_fread_dout. 1: enable 0: disable.

FREAD_DUAL

In the read operations, read-data phase apply 2 signals. 1: enable 0: disable.

RESANDRES

The Device ID is read out to SPI_MEM_RD_STATUS register, this bit combine with spi_mem_flash_res bit. 1: enable 0: disable.

Q_POL

The bit is used to set MISO line polarity, 1: high 0, low

D_POL

The bit is used to set MOSI line polarity, 1: high 0, low

FREAD_QUAD

In the read operations read-data phase apply 4 signals. 1: enable 0: disable.

WP

Write protect signal output when SPI is idle. 1: output high, 0: output low.

WRSR_2B

two bytes data will be written to status register when it is set. 1: enable 0: disable.

FREAD_DIO

In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable.

FREAD_QIO

In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable.

Links

() ()